function [likel,ssvec,flagOK]=likelCentral(parest, parvec, parposest, funcmod, Y, trainvec, solveopt, addsol) 
% =========================================================================
% likelCentral.m 
%
% Formerly known as LMJ_LIKELCENTRAL 
% Distributes the computation of the likelihood according to the caseFilter
% variable included in addsol. 
%
% function [likel, ssvec,flag_ok]=...
% likelCentral(parest, parvec, parposest, funcmod, Y, trainvec, solveopt, addsol) 
% 
% Output 
% LIKEL         Log Likelihood w/constant, adjusted for non-NAN obs 
% SSVEC         Steady State Vector 
% FLAG_OK       == 1 if solution valid. In case of split samples, must be
%               valid on both solutions 
%
% Notes: default value for no solution is -1e20. 
%        minimization codes that call this function automatically asign
%        1e20 to no solution cases 
% 
% A. Justiniano Dec 8 2011
% =========================================================================
[likel,ssvec,flagOK]=feval(addsol.funcLikel,parest,parvec,parposest,funcmod,Y,trainvec,solveopt,addsol);

